Total Complexity | 20 |
Dependencies | 3 |
Dependents | 5 |
Total lines | 112 |
Lines of code | 85 |
Logical lines of code | 38 |
Comment lines | 7 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
tfhb_restrict_unverified_user() | 53 | 7 | 20 | |
updateHostRoleCapabilities() | 70 | 2 | 6 | |
userHostID() | 66 | 2 | 9 | |
tfhb_woocommerce_prevent_admin_access() | 72 | 2 | 6 | |
getUserAuth() | 60 | 1 | 14 | |
create_endpoint() | 64 | 1 | 11 | |
__construct() | 91 | 1 | 2 | |
userRole() | 73 | 1 | 5 | |
userID() | 76 | 1 | 4 | |
userData() | 77 | 1 | 4 | |
userAllCaps() | 76 | 1 | 4 |